﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using JM.JCY.BusinessEntity;

namespace JM.JCY.Common
{
   public interface IPhotoAlbum
    {
       void CreateAlbumwithUpload(PhotoAlbumDataSet ds);
       PhotoAlbumDataSet getAlbumDbyAlbumId(int albumId);
       PhotoAlbumSearchDataSet.T_UserCommitteeDataTable GetAllCommitteeUsersById(int committeeId);
       PhotoAlbumSearchDataSet.T_UserDepartmentDataTable GetAllDepartmentUsersById(int departmentId);
       PhotoAlbumSearchDataSet.T_AlbumContentDataTable GetAlbumContents(int albumId);
       PhotoAlbumSearchDataSet.T_SearchLikeDataTable GetObjectLikCount(int objectId, string objType);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetAllPublicAlbums(string appType, int appId);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetWorkgroupAlbums(string appType, int appId);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetCommitteeAlbums(string appType, int appId);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetMySelfAlbums(string appType, int appId, int staffId);
       PhotoAlbumSearchDataSet.T_AlbumContentDataTable GetMadieById(int madieId);
       PhotoAlbumSearchDataSet.T_AlbumContentDataTable GetMadieByAlbumId(int albumId);
       PhotoAlbumSearchDataSet.T_SearchLikeDataTable GetLike(int objectId, string objectType);
       void LikeOfAlbum(PhotoAlbumSearchDataSet ds);
       PhotoAlbumSearchDataSet.T_UserCommitteeDataTable GetUserCommitteeByUserId(int userId);
       PhotoAlbumSearchDataSet.T_UserDepartmentDataTable GetUserDepartmentByUserId(int userId);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetRecentlyUpdatedAlbums(string appType, int appId);
       PhotoAlbumSearchDataSet.T_AlbumDataTable GetMostPopularAlbums(string appType, int appId);
       
    }
}
